﻿using System;
using System.Collections.Generic;
using System.Data.SqlClient;
using System.Linq.Expressions;
using System.Text;

namespace ORM.Test
{
   public static class ExpressionHelper
    {
        public static string ToWhere<T>(this Expression<Func<T, bool>> expression, out List<SqlParameter> sqlParameters)
        {
            sqlParameters = new List<SqlParameter>();
            return "";
            //CustomExpressionVisitor visitor = new CustomExpressionVisitor();
            //visitor.Visit(expression);
            //string where = visitor.GetWhere(out sqlParameters);
            //return where;
        }
    }
}
